﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FrameWork.Lib.DataObjects;

namespace AnimeWatchMax.DataObjects
{
    public class Torrent : DataObjectBase
    {
        public Torrent()
        {
        }

        public Torrent(string pID)
        {
            this.ID = pID;
            this.Created = DateTime.Now;
            this.DataObjectGUID = Guid.NewGuid();
            this.State = TorrentStateType.New;
        }

        public string ID { get; set; }
        public TorrentStatusType Status { get; set; }
        public string Site { get; set; }
        public Boolean SiteHotLink { get; set; }
        public string Direct { get; set; }
        public int UL { get; set; }
        public int DL { get; set; }
        public int Downloaded { get; set; }
        public bool TrackerProblem { get; set; }
        public TorrentStateType State { get; set; }
    }
}
